places sidebar: Make 'recent' work on other platforms
authorMatthias Clasen <mclasen@redhat.com>
Sat, 6 Jun 2015 21:13:22 +0000 (17:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 6 Jun 2015 21:13:22 +0000 (17:13 -0400)
commita8191e7113672abbfdfe5d2f62c6eeddf730c9dd
tree1204ed34e152400981c4ed6be66bfa6b8ccb550e
parent1e8be1c446d2c9dc695c5a378c9422b5c576e1f6
places sidebar: Make 'recent' work on other platforms

Since nautilus merge, we were not showing 'Recent' in the sidebar
if GIO did not support the recent: scheme. But the file chooser
can show recent files independent of gvfs - it loads the recent
files manually. This is relevant on Windows and OS X, where gvfs
is typically not used.

This commit adds a show-recent property which can be used to override
the recent: scheme check. We use it in the file chooser.

https://bugzilla.gnome.org/show_bug.cgi?id=750068
docs/reference/gtk/gtk3-sections.txt
gtk/gtkfilechooserwidget.c
gtk/gtkplacessidebar.c
gtk/gtkplacessidebar.h
gtk/ui/gtkfilechooserwidget.ui